/**
 * ICollSeq.java
 * Copyright (C) 2011 Yuanyan<yuanyan.cao@gmail.com>
 * 
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; version 2 of the License.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * For information on how to redistribute this software under
 * the terms of a license other than GNU General Public License
 * contact yuanyan.cao@gmail.com
 */
package edu.rabbit.kernel;

import edu.rabbit.DbEncoding;
import edu.rabbit.kernel.memory.IMemoryPointer;

/**
 * @author Yuanyan<yanyan.cao@gmail.com>
 * 
 * 
 */
public interface ICollSeq {

    /**
     * @return
     */
    Object getUserData();

    /**
     * @param userData
     * @param n
     * @param z
     * @param n2
     * @param z2
     * @return
     */
    int cmp(Object userData, int n, IMemoryPointer z, int n2, IMemoryPointer z2);

    /**
     * @return
     */
    DbEncoding getEnc();

}
